package com.manage.function.domain;

import com.manage.common.annotation.Excel;
import com.manage.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 function_test
 *
 * @author jinghj
 * @date 2025-03-08
 */
@ApiModel(value = "FunctionTest", description = "【请填写功能名称】对象 function_test 的详细信息")
public class FunctionTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     *
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 年龄
     *
     */
    @ApiModelProperty(value = "年龄")
    @Excel(name = "年龄")
    private Long age;

    /**
     * 设置 id 的值
     * @param id id 的值
     */
    public void setId(Long id)
    {
        this.id = id;
    }

    /**
     * 获取 id 的值
     * @return id 的值
     */
    public Long getId()
    {
        return id;
    }
    /**
     * 设置 age 的值
     * @param age age 的值
     */
    public void setAge(Long age)
    {
        this.age = age;
    }

    /**
     * 获取 age 的值
     * @return age 的值
     */
    public Long getAge()
    {
        return age;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("age", getAge())
                .toString();
    }
}
